from .views import *
from django.urls import path
from rest_framework.routers import DefaultRouter

# 实例化路由对象
router = DefaultRouter()
router.register('info',OrderInfoViewSet)

urlpatterns = [
    #
    # path('infotwo/', OrderInfoTwoViewSet.as_view()),
    # path('infotwo/<str:pk>/', OrderInfoTwoViewSet.as_view()),
]

urlpatterns += router.urls